package Demo_zhuanshu.XueQiang05;

public class Employee extends Role {

    private double salay;
    private static  String ID;

    public Employee(){
        super("魏延",47,'男');
        System.out.println("Employee的无参构造");
    }

    public Employee(String name, int age, char sex, double salay) {
        super(name, age, sex);
        this.salay = salay;
    }

    @Override
    public void play() {
        System.out.println(super.getName()+"正在阴谋筹备反骨");
    }
    public final  void  sing(){
        System.out.println(super.getName()+"和诸葛亮在唱对角戏");
    }
}
